import React,{useEffect} from 'react';
import {Map, Marker, NavigationControl, InfoWindow} from 'react-bmapgl';
function MapB(props) {

    return (
        <>
        <Map center={{lng: 108.93, lat: 34.27}} zoom="14" enableScrollWheelZoom='true'>
            <Marker position={{lng: 108.93, lat: 34.27}} />
            <NavigationControl /> 
            <InfoWindow position={{lng: 108.93, lat: 34.27}} text="西安" title="城市"/>
        </Map>

        </>
    );
}

export default MapB;